package com.oms.system.mapper;

import java.util.List;
import com.oms.system.domain.OmsOrderProduct;
import com.oms.system.domain.OmsOrderProductExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface OmsOrderProductMapper {
    int countByExample(OmsOrderProductExample example);

    int deleteByExample(OmsOrderProductExample example);

    int deleteByPrimaryKey(Long id);

    int insert(OmsOrderProduct record);

    int insertSelective(OmsOrderProduct record);

    List<OmsOrderProduct> selectByExample(OmsOrderProductExample example);

    OmsOrderProduct selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") OmsOrderProduct record, @Param("example") OmsOrderProductExample example);

    int updateByExample(@Param("record") OmsOrderProduct record, @Param("example") OmsOrderProductExample example);

    int updateByPrimaryKeySelective(OmsOrderProduct record);

    int updateByPrimaryKey(OmsOrderProduct record);
}